/*
 * DataInfo.cpp
 *
 *  Created on: Aug 19, 2016
 *      Author: ubuntu
 */

#include "DataInfo.h"

DataInfo::DataInfo()
{
	m_head = 0;
	m_tail = 0;
}

DataInfo::~DataInfo()
{

}

bool DataInfo::parse(unsigned char *buf, size_t len, int add_head, int add_tail)
{
	m_head = add_head, m_tail = add_tail;
	return true;
}

void DataInfo::writelog(const char *path)
{
	debug(LOG_DEBUG, "Write log to file");
}

#if 0
int DataInfo::sendBuf(unsigned char *dst, const char *src, size_t len)
{
	return -1;
}
#endif

